<script setup>
import YikeHeader from '@/views/YikeHeader/index.vue'
import YikeFooter from '@/views/YikeFooter/index.vue'
</script>

<template>
    <!-- 头部 -->
    <YikeHeader />
    <!-- 背景视频 -->
    <video src="@/assets/qm1.mp4" class="video" loop autoplay controls muted></video>
    <!-- 留言墙 -->
    <router-view />
    <!-- 底部 -->
    <YikeFooter />
</template>

<style lang="less" scoped>
.video {
    position: fixed;
    top: 0;
    left: 0;
    height: 840px;
    z-index: -1;
}
// 隐藏video的控件按钮
video::-webkit-media-controls-enclosure {
    display: none;
}
</style>